package com.accounting.model;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;


/**
 * Voucher entity. @author MyEclipse Persistence Tools
 */

public class Voucher  implements java.io.Serializable {


    // Fields    

     private String voucherId;
     private Admin admin;
     private String voucherWord;
     private String voucherCode;
     private Date date;
     private Integer extraReceipts;
     private String remark;
     private String maker;
     private Boolean access;
     private String assessor;
     private Set voucherRecords = new HashSet(0);


    // Constructors

    /** default constructor */
    public Voucher() {
    }

	/** minimal constructor */
    public Voucher(String voucherId, Admin admin, String voucherWord, String voucherCode, Date date, Integer extraReceipts, String remark, String maker, Boolean access, String assessor) {
        this.voucherId = voucherId;
        this.admin = admin;
        this.voucherWord = voucherWord;
        this.voucherCode = voucherCode;
        this.date = date;
        this.extraReceipts = extraReceipts;
        this.remark = remark;
        this.maker = maker;
        this.access = access;
        this.assessor = assessor;
    }
    
    /** full constructor */
    public Voucher(String voucherId, Admin admin, String voucherWord, String voucherCode, Date date, Integer extraReceipts, String remark, String maker, Boolean access, String assessor, Set voucherRecords) {
        this.voucherId = voucherId;
        this.admin = admin;
        this.voucherWord = voucherWord;
        this.voucherCode = voucherCode;
        this.date = date;
        this.extraReceipts = extraReceipts;
        this.remark = remark;
        this.maker = maker;
        this.access = access;
        this.assessor = assessor;
        this.voucherRecords = voucherRecords;
    }

   
    // Property accessors

    public String getVoucherId() {
        return this.voucherId;
    }
    
    public void setVoucherId(String voucherId) {
        this.voucherId = voucherId;
    }

    public Admin getAdmin() {
        return this.admin;
    }
    
    public void setAdmin(Admin admin) {
        this.admin = admin;
    }

    public String getVoucherWord() {
        return this.voucherWord;
    }
    
    public void setVoucherWord(String voucherWord) {
        this.voucherWord = voucherWord;
    }

    public String getVoucherCode() {
        return this.voucherCode;
    }
    
    public void setVoucherCode(String voucherCode) {
        this.voucherCode = voucherCode;
    }

    public Date getDate() {
        return this.date;
    }
    
    public void setDate(Date date) {
        this.date = date;
    }

    public Integer getExtraReceipts() {
        return this.extraReceipts;
    }
    
    public void setExtraReceipts(Integer extraReceipts) {
        this.extraReceipts = extraReceipts;
    }

    public String getRemark() {
        return this.remark;
    }
    
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getMaker() {
        return this.maker;
    }
    
    public void setMaker(String maker) {
        this.maker = maker;
    }

    public Boolean getAccess() {
        return this.access;
    }
    
    public void setAccess(Boolean access) {
        this.access = access;
    }

    public String getAssessor() {
        return this.assessor;
    }
    
    public void setAssessor(String assessor) {
        this.assessor = assessor;
    }

    public Set getVoucherRecords() {
        return this.voucherRecords;
    }
    
    public void setVoucherRecords(Set voucherRecords) {
        this.voucherRecords = voucherRecords;
    }
   








}